/*
 * @Author: June
 * @Date: 2022-11-14 14:40:09
 * @LastEditors: June
 * @LastEditTime: 2022-11-15 14:03:26
 * @Description: 
 * 
 */
import defaultSettings from '@/settings'

const title = defaultSettings.title || '智简云智数工业云平台'

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle} - ${title}`
  }
  return `${title}`
}
